package hu.mapro.gwtui.client.model;

import hu.mapro.model.AccessorReadOnly;

public abstract class AbstractProperty<T, V> extends AccessorReadOnly<T, V> implements Property<T, V> {

	String label;
	String propertyName;

	public AbstractProperty(String propertyName, String label) {
		super();
		this.propertyName = propertyName;
		this.label = label;
	}

	@Override
	public String getLabel() {
		return label;
	}

	@Override
	public String getPropertyName() {
		return propertyName;
	}

}
